package com.yf.service.course.impl;

import com.yf.dao.course.LessonOrderDao;
import com.yf.service.impl.BaseServiceImpl;
import com.yf.vo.OrderItemBackVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yf.dao.course.LessonOrderItemDao;
import com.yf.entity.course.LessonOrderItemEntity;
import com.yf.service.course.LessonOrderItemService;

import java.util.List;
import java.util.Map;

/**
 * 订单明细Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Oct 24 11:55:59 CST 2018
 */
@Service
public class LessonOrderItemServiceImpl extends BaseServiceImpl<LessonOrderItemEntity> implements LessonOrderItemService {
    @Autowired
    private LessonOrderItemDao lessonOrderItemDao;

    @Autowired
    private LessonOrderDao lessonOrderDao;

    /**内部方法**/


    /**外部方法实现**/

    @Override
    public List<OrderItemBackVo> orderItemList(Map<String, Object> params) {
        return lessonOrderItemDao.orderItemList(params);
    }

//    @Override
//    public List<LessonOrderItemEntity> getByOrderNo(String orderNo) {
//        Less lessonOrderDao.getByOrderNo(orderNo);
//
//        return null;
//    }
}
